//
//  Address.swift
//  ECApp
//
//  Created by ping Cheng on 2017/10/27.
//

import Foundation
import PerfectLib

class Address: JSONConvertibleObject {
    var id = -1
    var district = ""
    var region = ""
    var city = ""
    var province = ""
    var mobile = ""
    var consignee = ""
    var idDefault = false
 
    override func getJSONValues() -> [String : Any] {
        return [ "id" : id ,
          "address" : district ,
          "region" : region ,
          "city" : city ,
          "province" : province ,
          "mobile" : mobile ,
          "consignee" : consignee ,
          "idDefault" : idDefault 
        ]
    }
    
}
